<template>
  <ed-dialog-button
    class="el-form-field-group-button-field-manage"
    :icon="icon"
  >
    <template v-slot:title>
      <h1>{{ title }}</h1>
    </template>
    <ed-field-factory
      v-on="$listeners"
      v-bind="$attrs"
    />
  </ed-dialog-button>
</template>

<script>
import EdFieldFactory from './EdFieldFactory'
import EdDialogButton from '../EdDialogButton'
export default {
  props: {
    title: {
      type: String,
      default: '表单域管理'
    },
    icon: {
      type: String,
      default: 'el-icon-s-tools'
    }
  },
  components: {
    EdFieldFactory,
    EdDialogButton
  },
  methods: {
  }
}
</script>

<style scoped>

</style>
